package lab02.test13;

import lab02.test15.Graduate;

public class Test13 {
    public static void main(String[] args) {
        System.out.println("Gymnastucs:");
        Gymnastics g1 = new Gymnastics();
        g1.chinese = 95.5;
        g1.math = 98.0;
        g1.english = 92.5;
        System.out.println(g1.average());

        System.out.println("School:");
        School s1 = new School();
        s1.chinese = 96;
        s1.math = 92;
        s1.english = 97;
        System.out.println(s1.average());
    }
}
